﻿using System;
using UnityEngine;
using XNode;

namespace ActionGraph.Core
{
    [CreateAssetMenu(fileName = "New Action Graph",menuName = "Action/Action Graph")]
    public class ActionGraph : NodeGraph
    {
        public ActionGraphHost graphHost; //宿主

        public GameEntity entity => graphHost.entity;
        
        public ActionNode entryNode; //入口节点
        public ActionNode updateNode;
    }
    
    public class NodeHideInCreateMenuAttribute : Attribute { }
}